import { useState } from "react";

function Notification({n}){
    // const [isHaveMes,setIsHaveMes]=useState(false)
    // const count=0;
    // const getMesCounts=()=>{
    //     return count
    // }
    return (
        <div>
            {n>0?`有${n}条信息未读`:'没有未读信息'}
        </div>
    )
}

export default Notification